{% extends "base.html" %}

<body>
{% block header %}
{% include "flow-menu.html" %}
{% endblock %}

{% block content %}

<div class="wrap">
	{% include "tree.html" %}
    <div class="wrap_left right">
        <div class="shenqing1">
        	<h5 style="float:left;width:96%;margin-bottom:10px;">新增操作单</h5>
        </div>
			{% if form.errors %}
		    	<p style="color: red;">
		            Please correct the error{{ form.errors|pluralize }} below.
		        </p>
		    {% endif %}
		    <form action="/flow/add/" method="post">
		    <div style="clear:both"></div>
	        <div class="module aligned box">
				{% for field in form %}
		            <div class="form-row">
		            {{ field.errors }}
		            {{ field.label_tag }} {{ field }}
		            </div>
		        {% endfor %}
                <div style='text-align:center'>
		            <button type="button" style="margin-right:40px;width:80px" onclick="formReset()" >重置</button>
		            <input type="submit" value="提交"  style="margin-right:40px;width:80px" />
		        </div>
			</div>
			</form>
		</div>
    </div>
{% endblock %}

</body>
</html>
